package lad02.test07;

public class Test07 {
    public static void main(String[] args) {
        Person zeng =new Person();
        zeng.name="zengzhengyuan";
        zeng.age=20;
        zeng.idcard="1123556";
        System.out.println(zeng.getString());
        Student zeng2 =new Student();
        zeng2.name="曾";
        zeng2.age=2;
        zeng2.idcard="111111";
        zeng2.sno="2222";
        zeng2.univerdity="四川旅游学院";
        System.out.println(zeng2.getString());


    }
}
